package net.qhzw.vip.qiyu.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * 派单历史表
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "repair_dispatch_history_table")
public class DispatchHistoryTable implements Serializable {
    @TableId(value = "id", type = IdType.INPUT)
    private Long id;

    /**
     * 报案id
     */
    @TableField(value = "maint_rpt_id")
    private Long maintRptId;

    /**
     * 派单时间
     */
    @TableField(value = "dispatch_time")
    private Date dispatchTime;

    /**
     * 接单时间
     */
    @TableField(value = "order_taking_time")
    private Date orderTakingTime;

    /**
     * 状态
     */
    @TableField(value = "status")
    private Boolean status;

    private static final long serialVersionUID = 1L;
}